/*******************************************************************************
 ** Name: item.cpp                                                            **
 ** Description: WorldObject-derived container objects                        **
 **                                                                           **
 ** Open Source Initiative (OSI) Approved License                             **
 **                                                                           **
 ** The contents of this file are subject to the terms of the                 **
 ** Common Development and Distribution License, Version 1.0 only             **
 ** (the "License").  You may not use this file except in compliance          **
 ** with the License.                                                         **
 **                                                                           **
 ** You can find a copy of the license in the license.txt within              **
 ** this distribution or at http://www.munixos.net/licensing.                 **
 ** Software distributed under the License is distributed on an "AS IS"       **
 ** basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.           **
 ** See the License for the specific language governing permissions           **
 ** and limitations under the License.                                        **
 **                                                                           **
 ** When distributing Covered Code, include this CDDL header in each          **
 ** file and include the License file at $$HOME/license.txt.                   **
 ** If applicable, add the following below this header, with the indicated    **
 ** fields enclosed by brackets "[]" replaced with your own identifying       **
 ** information: Portions Copyright [yyyy] [name of copyright owner]          **
 **                                                                           **
 **                                                                           **
 ** Copyright (c) 2009-2011  Barry Gian James <gian@gamingods.net>            **
 ** All rights reserved.                                                      **
 ******************************************************************************/
// Modified $Date$ by $Author$
#define  Item_cpp_ID    "$Id$"

#include "item.hpp"

const char * ItemTypeStr[] = { "Armor", "Gadget", "Kit" };

///////////////////////////////////[ Item
Item::Item(const std::string & n, const std::string & t)
: WorldObject(ObjectType::Item,n,t)
{

}

Item::Item(ObjectType tt, const std::string & n, const std::string & t)
: WorldObject(tt,n,t)
{

}

Item::Item(const Item& orig)
{

}

///////////////////////////////////[ Device
Device::Device()
: Item()
{
	_pr = _detect_dc = _disable_dc = _xp = 0;
}

Device::Device(const Device & d)
{
	_pr = d._pr;
	_detect_dc = d._detect_dc;
	_disable_dc = d._disable_dc;
	_xp = d._xp;
}
